package controler;
import java.util.Calendar;
import java.util.Date;

import org.apache.http.client.HttpClient;

public interface IProvider {

 //   public Credentials cred = new Credentials();

    public Boolean Buy (Item p,Credentials c);

    public Float GetPrice (Item p);

    public String GetName (Item p) throws ItemNotFound;
    
    public HttpClient Login(Credentials cred) throws LoginException;

    public Date GetFinishDate (Item p) throws ItemAuctionFinished, ItemIsBuyNow;
    
    public Calendar GetServerDate();
}

